﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
                   assembly="TMA.MODEL"
                   namespace="TMA.MODEL.Entity">

	<class name="Diary" table="dbo.Tbl_AgendaVisitasFuncionario">
		<id name="Id_Diary" column="Id_AgendaVisitasFuncionario" type="int">
			<generator class="native"/>
		</id>
    <property name="Id_Functionary" column="IdFuncionario" type="decimal" />
		<property name="DateDiary" column="Fecha" type="string" />
		<property name="HourDiary" column="Hora" type="string" />
		<property name="Id_Visitor" column="IdVisitante" type="decimal" />
		<property name="Description" column="Motivo" type="string" />
		<property name="DateCreateRegistration" column="FechaCrea" type="datetime" />
		<property name="DateModifyRegistration" column="FechaModifica" type="datetime" />
		<property name="Id_UserCreateRegistration" column="UsuarioCrea" type="string" />
		<property name="Id_UserModifyRegistration" column="UsuarioModifica" type="string" />
		<property name="CenterCost" column="csc" type="int" />
		<property name="State" column="Estado" type="string" />
		<property name="Id_User" column="IdUsuario" type="int" />
	</class>

</hibernate-mapping>